home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / internet / weblibev / weblibpb.con < prev    next >
Encoding:
Text File  |  1995-09-29  |  3.6 KB  |  88 lines

  1. //==============================================================================
  2. // Copyright 1995 by Potomac Software, Inc. Use of this material is subject to
  3. // the terms and conditions of the software license agreement.
  4. //    
  5. // WEBLIBPB.CON: Contains PowerBuilder global variables for WebLib (TM). 
  6. //==============================================================================
  7.  
  8. // ========== Flags for ConnectBrowser ==========
  9. long WL_STARTBROWSER = 1                          // Start browser if not running
  10. long WL_SENDMESSAGE = 2                            // Notify caller via SendMessage
  11. long WL_POSTMESSAGE = 4                            // Notify caller via PostMessage
  12.  
  13. // ========== Flags for ListWindows ==========
  14. boolean WL_FIRSTWINDOW = TRUE                    // Get first window
  15. boolean WL_NEXTWINDOW = FALSE                    // Get next window (if any)
  16.  
  17. //========== Flags for GetWindowInfo, ActivateWindow and OpenURL ==========
  18. long WL_ACTIVEWINDOW = -1                        // Operate on active window
  19. long WL_LASTACTIVEWINDOW = -1                     // Activate last active window
  20. long WL_NEWWINDOW = 0                            // Create new window for URL
  21.  
  22. //========== Flags for SetWindowPos ==========
  23. long WL_NOCHANGE = -1                            // Do not change x, y, width, height
  24.  
  25. //========== Flags for ShowWindow ==========
  26. uint WL_MINIMIZE = 1                            // Minimize window
  27. uint WL_MAXIMIZE = 2                             // Maximize window
  28. uint WL_NORMAL = 3                                 // Restore window to normal size
  29.  
  30. //========== Flags for OpenURL, values must conform to DDE API ==========
  31. uint WL_NODOCUMENTCACHE = 1                        // Ignore browser's doc cache
  32. uint WL_NOIMAGECACHE = 2                        // Ignore browser's image cache
  33. uint WL_BACKGROUNDMODE = 4                        // Operate in background mode 
  34.  
  35. //========== Flags that may be passed instead of notification window handle ==========
  36. uint WL_DEFAULTNOTIFY = -1                        // Use default from SetDefaultNotify
  37. uint WL_NONOTIFY = 0                               // Do not send notification message
  38.  
  39. //========== Flags for UnRegisterURLEcho and others ==========
  40. uint WL_UNREGISTERALL = 0                        // Unregister all windows
  41.  
  42. //========== Flags for RegisterViewer, values must conform to DDE API ==========
  43. uint WL_SHELLEXECUTE = 1                        // Launch viewer using ShellExecute
  44. uint WL_QUERYVIEWER = 2                            // Send event to query filename
  45. uint WL_VIEWDOCFILE = 4                            // Send event to view filename
  46.  
  47. // ========== Flags for AddToolbarButton ==========
  48. uint WL_BITMAPHANDLES = 0                         // passing bitmaps, not resource IDs
  49.  
  50. //========== Flags for SetToolbarText ==========
  51. uint WL_TOOLBARTEXT    = -1                        // Set toolbar text, not button text
  52.  
  53. //========== Flags for SetToolbarFont ==========
  54. uint WL_TOOLBARFONT = 1                            // Set font for toolbar text
  55. uint WL_BUTTONFONT = 2                            // Set font for button text
  56.  
  57. //========== Flags for SetToolbarTextColor ==========
  58. uint WL_TOOLBARTEXTCOLOR = 1                    // Set color for toolbar text
  59. uint WL_BUTTONTEXTCOLOR = 2                        // Set color for button text
  60.  
  61. //========== Notification events generated by API ==========
  62. uint WLN_BEGINPROGRESS = 1
  63. uint WLN_SETPROGRESSRANGE = 2
  64. uint WLN_MAKINGPROGRESS = 3
  65. uint WLN_ENDPROGRESS = 4
  66. uint WLN_FINISHED = 5
  67. uint WLN_CANCELED = 6
  68. uint WLN_URLECHO = 7
  69. uint WLN_OPENURL = 8
  70. uint WLN_CANCELTRX= 9
  71. uint WLN_WINDOWCHANGE = 10
  72. uint WLN_QUERYVIEWER = 11
  73. uint WLN_VIEWDOCFILE = 12
  74. uint WLN_BUTTONCLICKED = 13
  75. uint WLN_BROWSERSTART = 14
  76. uint WLN_BROWSEREXIT = 15
  77.  
  78. //========== Flags for WindowChange notification event ==========
  79. long WLF_MOVESIZE = 1
  80. long WLF_MAXIMIZED = 2
  81. long WLF_NORMALIZED = 4
  82. long WLF_MINIMIZED = 8
  83. long WLF_CLOSED    = 16
  84. long WLF_EXITING = 65536
  85.  
  86. //========== Pre-defined notification message, included for convenience
  87. uint WM_WEBLIB_NOTIFY = 2000
  88.